package zl.ordermanager.service;

import zl.ordermanager.vo.DataGrid;
import zl.ordermanager.vo.PageHelper;
import zl.ordermanager.vo.SalesOrder;

public interface SalesOrderService {

	public DataGrid<SalesOrder> dataGrid(PageHelper pageHelper);

	public SalesOrder get(Integer id);
	
	public SalesOrder getByOrderNo(String orderNo);
	
	public void add(SalesOrder salesOrder) throws Exception;
		
	public void edit(SalesOrder salesOrder) throws Exception;

	public void delete(Integer id);
}
